home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-05-27 | 54.1 KB | 2,338 lines |
- G4C;(c) PlayGUI by Richard Kapp 1999-2000 ; MUST BE IN THE FIRST(!) LINE
- ;Version 2.8
-
- ;Getting started
-
- WINBIG 380 357 275 116 "PLAYGUI V.2.8 (c) by Richard Kapp 1999-2000"
- wintype 01001000
- WINFONT XHelvetica.font 11 000
-
-
- ;Routinen
-
- xROUTINE ENDE
-
- if $THEME = YES
- CLI 'C:run >NIL: $PLAY16PATH $TQUITSOUND'
- gosub PlayGUI ENDE2
- elseif $THEME = NO
- CLI 'C:run >NIL: $PLAY16PATH $QUITSOUND'
- gosub PlayGUI ENDE2
- endif
-
- xROUTINE ENDE2
-
- guiquit ShortInfo
- guiquit SYSInfo
- guiquit MiniPlay
- guiquit PGAbout
- guiquit Voreinstellung
- guiquit OptionConfig
- guiquit StartupConfig
- guiquit PathConfig
- guiquit P16Config
- guiquit SetVolume
- guiquit Themes
- guiquit QuickMenu
- guiquit Preview
- guiquit ThemeCreate
- guiquit ShowPattern
- guiquit ShowSkin
- guiquit PlayGUI
-
- freeimage haut
- freeimage Barmod
- freeimage BarSam
- freeimage BarOpt
- freeimage BarVol
- freeimage GuiPattern
- freeimage ab
-
-
-
-
- xROUTINE choice
- ezReq "No mod to play!" "Shut up!|Select a mod" what
- if $what = 1
- gosub PlayGUI Hopp
- else
- gosub PlayGUI SelectMod
- endif
-
- xROUTINE SelectMod
-
- ReqFile 0 0 200 400 "Choose a module..." LOAD module $MODPATH
- ifexists FILE $module
- extract module FILE mody
- update PlayGUI 1 '$mody'
- update PlayGUI 2 'Select mod'
- a = loaded
- else
- ezreq "No mod selected" "I know!" jep
- endif
-
- ;Load new skin
-
- xROUTINE NeuHaut
-
- ReqFile 0 0 200 -30 "Choose the skin directory..." DIR SKINSELECT #PlayGUI:Skins
- gosub PlayGUI Wechsel
-
- xROUTINE Wechsel
-
- Assign Skins: $SKINSELECT
- IfExists FILE Skins:main.iff
- THEME = NO
- gosub PlayGUI Wechsel2
- else
- ezreq "Cannot find skin.." "Grrr!" grrr
- endif
-
- xROUTINE Wechsel2
- freeimage BarVol
- freeimage BarOpt
- freeimage BarSam
- freeimage BarMod
- freeimage haut
- loadimage Skins:main.iff haut Workbench
- loadimage Skins:mod_bar BarMod Workbench
- loadimage Skins:sample_bar BarSam Workbench
- loadimage Skins:option_bar BarOpt Workbench
- loadimage Skins:volume_bar BarVol Workbench
-
-
- ChangeImage PlayGUI 4 -1 -1 haut
- ChangeImage PlayGUI 5 -1 -1 BarMod
- ChangeImage PlayGUI 6 -1 -1 BarSam
- ChangeImage PlayGUI 7 -1 -1 BarOpt
- ChangeImage PlayGUI 8 -1 -1 BarVol
-
- redraw PlayGUI
-
- extract SKINSELECT PATH skiny
- if $a = loaded
- and $stop = na
- update PlayGUI 1 '$mody'
- update PlayGUI 2 'Playing mod'
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET TYPE"
- *typ = $$REXXRET
- update PlayGUI 3 "$*typ"
-
- else
- update PlayGUI 2 'Selected Skin'
- update PlayGUI 1 '$skiny'
- endif
-
-
-
- xROUTINE Versteck
- if $but = ja
- Setgad PlayGUI 5/8 HIDE
- Setgad PlayGUI 1/3 HIDE
- redraw PlayGUI
- but = nein
- elseif $but = nein
- ezreq "There's nothing to hide!" "Sure" sure
- endif
-
-
-
-
- xROUTINE Zeig
- if $but = nein
- Setgad PlayGUI 5/8 SHOW
- Setgad PlayGUI 1/3 SHOW
- redraw PlayGUI
- but = ja
- elseif $but = ja
- ezreq "There's nothing to show!" "Sure" sure
- endif
-
- ;SliderBox
- SQUARE 20 71 104 20 0 FILL
-
- xonload
-
- Set help on
- extract PlayGUI guipath PlayGUIpath
- ifexists assign PlayGUI: ;try to self-locate
- else
- assign PlayGUI: $PlayGUIpath
- endif
-
-
- ;DEFAULT VARIABLES----------------------------
-
- c = hippyend
- stumm = laut
- pvol = NO
- vol = 100
- vol2 = 50
- short = nope
- but = ja
- GuiPattern = PlayGUI:SYS/Patterns/PGpattern
- STARTSOUND = PlayGUI:SYS/Sounds/SoundStart
- QUITSOUND = PlayGUI:SYS/Sounds/SoundEnd
- HIPPOPATH = C:Hip
- PLAY16PATH = C:Play16
- MODPATH = RAM:
- SKINSELECT = PLAYGUI:SKINS/Standard/
- SAMPLEPATH = RAM:
- LAUNCHPATH = RAM:
- PLONEPATH = PLAYGUI:Plone/
- SCOPEPATH = C:Hip/Scopes/
- COPYPATH = RAM:
- COPYPATH2 = RAM:
- YAMPATH = DH0:Internet/YAM/YAM
- BROWSERPATH = DH0:Internet/Voyager/V
- AUTOPLAY = NO
- PLONESTART = NO
- STARTMODINFO = NO
- P16LOOP = NO
- P16FILTER = NO
- THEME = NO
- THEMEPATH = PlayGUI:Themes/
- TQUITSOUND = PlayGUI:SYS/Sounds/SoundEnd
- TSTARTSOUND = PlayGUI:SYS/Sounds/SoundStart
-
-
- ;LOAD PLAYGUI CONFIGURATION
- ;--------------------------
-
- ifexists file PlayGUI:SYS/PlayGUIconfig
- guiload PLAYGUI:SYS/PlayGUIconfig
- else
- ezreq "Cannot find config - Please configure PlayGUI!" "I will do!" do
- endif
-
- ;--------------------------
- ;LOAD THEME
- ;--------------------------
-
- if $THEME = YES
- gosub PlayGUI ThemeAb
- elseif $THEME = NO
- gosub PlayGUI NormalInit
- endif
-
- xROUTINE ThemeAb
-
- ifexists DIR $THEMEPATH
- gosub PlayGUI ThemeLoad
- else
- ezreq "Cannot find theme!" "ok" ok
- gosub PlayGUI NormalInit
- endif
-
- xROUTINE ThemeLoad
- assign Themes: $THEMEPATH
-
- ifexists FILE Themes:Pattern/PGPattern
- loadimage Themes:Pattern/PGpattern GuiPattern Workbench
- gosub PlayGUI SoundStartNext
- else
- ezreq "Cannot find theme elements!" "Ok" ok
- gosub PlayGUI NormalInit
- endif
-
- xROUTINE SoundStartNext
- ifexists FILE Themes:Sounds/SoundStart
- gosub PlayGUI SoundQuitNext
- else
- ezreq "Cannot find start sound!" "Ok" ok
- gosub PlayGUI NormalInit
- endif
-
- xROUTINE SoundQuitNext
- ifexists FILE Themes:Sounds/SoundEnd
- gosub PlayGUI SkinNext
- else
- ezreq "Cannot find quit sound!" "Ok" ok
- gosub PlayGUI NormalInit
- endif
-
- xROUTINE SkinNext
- ifexists FILE Themes:Skin/main.iff
- assign Skins: Themes:Skin/
- loadimage PLAYGUI:SYS/Start.iff ab Workbench
- gosub PlayGUI LadeThemeSkin
- else
- ezreq "Cannot find skin!" "Ok" ok
- gosub PlayGUI NormalInit
- endif
-
- xROUTINE LadeThemeSkin
-
- loadimage Skins:main.iff haut Workbench
-
- loadimage Skins:mod_bar BarMod Workbench
-
- loadimage Skins:sample_bar BarSam Workbench
-
- loadimage Skins:option_bar BarOpt Workbench
-
- loadimage Skins:volume_bar BarVol Workbench
-
- gosub PlayGUI Init
-
-
- xROUTINE NormalInit
-
- ifexists FILE $GuiPattern
- loadimage $GuiPattern GuiPattern Workbench
- gosub PlayGUI StartUpInit
- else
- ezreq "Cannot find pattern! Wrong path?" "Well.." well
- gosub PlayGUI StartUpInit
- endif
-
-
- loadimage PLAYGUI:SYS/Start.iff ab Workbench
-
- IfExists DIRECTORY $SKINSELECT
-
- assign Skins: $SKINSELECT
-
- else
- EzReq "Cannot find skin - Loading default..." "Really?" ok
- assign Skins: PlayGUI:Skins/standard
- EndIf
-
- loadimage Skins:main.iff haut Workbench
-
- loadimage Skins:mod_bar BarMod Workbench
-
- loadimage Skins:sample_bar BarSam Workbench
-
- loadimage Skins:option_bar BarOpt Workbench
-
- loadimage Skins:volume_bar BarVol Workbench
-
- gosub PlayGUI Init
-
- xROUTINE Init
- if $THEME = YES
- CLI 'C:run >NIL: $PLAY16PATH $TSTARTSOUND'
- gosub PlayGUI PGInit
- elseif $THEME = NO
- CLI 'C:run >NIL: $PLAY16PATH $STARTSOUND'
- gosub PlayGUI PGInit
- endif
-
- xROUTINE PGInit
-
- GuiOpen PlayGUI
- gosub PlayGUI StartUpInit
-
- xROUTINE StartUpInit
-
- If $PLONESTART = YES
- gosub PlayGUI StartPloneNow
- endif
-
- If $STARTMODINFO = YES
- gosub PlayGUI StartModInfo
- endif
-
- xROUTINE StartPloneNow
- IfExists DIRECTORY $PLONEPATH
- assign GUIPlone: $PLONEPATH
- GuiLoad GUIPlone:Plone
- else
- ezreq "Cannot find Plone! Set the correct path first!" "Ok!" ok
- endif
-
- xROUTINE StartModInfo
- short = yep
-
- GuiOpen ShortInfo
-
-
-
- IMAGE 0 0 haut
- gadid 4
- IMAGE 15 85 BarMod
- gadid 5
- IMAGE 153 22 BarSam
- gadid 6
- IMAGE 160 85 BarOpt
- gadid 7
- IMAGE 15 68 BarVol
- gadid 8
-
- BOX 0 0 275 116 out button
-
-
- xROUTINE Hopp
- Stop = na
-
-
- ;SliderBox
- SQUARE 20 71 104 7 0 FILL
-
-
-
-
- ;VOLUME-SLIDER
-
-
- XHSLIDER 19 71 108 8 '' vol 0 64 64 ''
-
- if $a = loaded
- and $c = hippy
-
- SendRexx HIPPOPLAYER VOLUME=$vol
-
- update PlayGUI 3 "Volume set to $vol"
-
- elseif $d = Play16
-
- update PlayGUI 3 "Volume set to $vol"
-
- else
- gosub PlayGUI Hopp
- endif
-
-
-
- ;PLAYGUIMENUS
-
- xMenu 'PLAYGUI' 'ABOUT PlayGUI' '' 'a'
-
- GuiOpen PGAbout
-
-
- xMenu 'PLAYGUI' 'HELP' '' 'H'
- ezreq 'Do you want the german or the english one?' 'German|English' sprache
- if $sprache = 1
- gosub PlayGUI Sprachwahld
- else
- gosub PlayGUI Sprachwahle
- endif
-
- xROUTINE Sprachwahld
- ifexists FILE C:Multiview
- CLI 'C:run >NIL: C:Multiview PlayGUI:Docs/PlayGUI.german'
- else
- ezreq "You need Multiview in SYS:C!" "Oh my god!" god
- endif
-
- xROUTINE Sprachwahle
- ifexists FILE C:Multiview
- CLI 'C:run >NIL: C:Multiview PlayGUI:Docs/PlayGUI.guide'
- else
- ezreq "You need Multiview in SYS:C!" "Oh my god!" god
- endif
-
- xROUTINE mini
- guiclose PlayGUI
- guiopen MiniPlay
-
-
- xMenu 'PLAYGUI' 'Iconify' '' 'I'
- setgad #this 55 ON ; show appicon
- guiclose #this
-
-
- xMenu 'PLAYGUI' 'Mini Play' '' '-'
-
- gosub PlayGUI mini
-
-
-
- xAppIcon 10 10 :PlayGui PlayGui '' OFF
- GadID 55
- GuiOpen playgui
- GuiScreen playgui FRONT
- setgad #this 55 OFF ; hide appicon
-
- xMenu 'PLAYGUI' 'SYSInfo' '' ''
- guiopen SYSInfo
-
- xMenu PLAYGUI BARLABEL '' ''
-
- xMenu 'PLAYGUI' 'QUIT' '' ''
- gosub PlayGUI DASENDE
-
- xMenu 'PLAYGUI' 'QuickQUIT' '' 'q'
- if $c = hippy
- gosub PlayGUI QENDE
- elseif $d = play16
- BreakTask $PLAY16PATH C
- gosub PlayGUI ENDE
- elseif $c = Hipppyend
- gosub PlayGUI ENDE
- else
- gosub PlayGUI ENDE
-
- endif
-
- xROUTINE QENDE
- CLI 'C:run >NIL: $HIPPOPATH quit'
- if $THEME = YES
- CLI 'C:run >NIL: $PLAY16PATH $TQUITSOUND'
- gosub PlayGUI ENDE4
- elseif $THEME = NO
- CLI 'C:run >NIL: $PLAY16PATH $QUITSOUND'
- gosub PlayGUI ENDE4
- endif
-
- xROUTINE ENDE4
-
- freeimage haut
- freeimage Barmod
- freeimage BarSam
- freeimage BarOpt
- freeimage BarVol
- freeimage GuiPattern
- freeimage ab
- guiquit ShortInfo
- guiquit SYSInfo
- guiquit MiniPlay
- guiquit PGAbout
- guiquit Voreinstellung
- guiquit OptionConfig
- guiquit StartupConfig
- guiquit PathConfig
- guiquit P16Config
- guiquit SetVolume
- guiquit Themes
- guiquit QuickMenu
- guiquit Preview
- guiquit ThemeCreate
- guiquit ShowPattern
- guiquit ShowSkin
- guiquit PlayGUI
-
-
- ;OPTIONMENU
-
- xMenu 'OPTIONS' 'Select new SKIN' '' 's'
- GOSUB PlayGUI NeuHaut
-
- xMenu 'OPTIONS' 'Save SKIN as default' '' ''
-
- gosub PathConfig SavePaths
-
- xMenu OPTIONS BARLABEL '' ''
-
- xMenu 'OPTIONS' 'Buttons' 'Hide' ''
- GOSUB PlayGUI Versteck
-
- xMenu 'OPTIONS' 'Buttons' 'Show' ''
- GOSUB PlayGUI Zeig
-
- xMenu 'OPTIONS' 'Module' 'Eject' 'e'
-
- ReqFile 0 0 200 400 "Choose a module..." LOAD module $MODPATH
- ifexists FILE $module
- extract module FILE mody
- update PlayGUI 1 '$mody'
- update PlayGUI 2 'Select mod'
- a = loaded
- else
- ezreq "No mod selected" "I know!" jep
- endif
-
- xMenu 'OPTIONS' 'Module' 'Play' 'p'
-
- if $a = loaded
- and $short = yep
- gosub PlayGUI InfoPlay
-
- elseif $a = loaded
- and $short = nope
- gosub PlayGUI NormalPlay
- endif
-
-
- xMenu 'OPTIONS' 'Module' 'Pause/Continue' 'z'
- gosub PlayGUI PausCont
-
- xROUTINE PausCont
-
- if $a = loaded
- and $stop = na
- SendRexx HIPPOPLAYER CONT
- else
- gosub PlayGUI Hopp
- endif
-
- xMenu 'OPTIONS' 'Module' 'Stop' 'x'
-
- if $a = loaded
- and $stop = na
- CLI 'C:run >NIL: $HIPPOPATH quit'
-
- stop = ja
- c = hippyend
- update PlayGUI 1 'Stop module'
- update PlayGUI 2 ''
- update PlayGUI 3 ''
- else
- gosub PlayGUI Hopp
- endif
-
- xMenu 'OPTIONS' 'Module' 'Forward' 'f'
-
- if $a = loaded
- and $c = hippy
- SendRexx HIPPOPLAYER FFWD
- else
- gosub PlayGUI Hopp
- endif
-
- xMenu 'OPTIONS' 'Module' 'Rewind' 'r'
- if $a = loaded
- and $c = hippy
- SendRexx HIPPOPLAYER REW
- else
- gosub PlayGUI Hopp
- endif
-
- xMENU 'OPTIONS' 'Module' 'Mute' 'm'
-
- gosub PlayGUI Ruhe
-
- xRoutine Ruhe
-
- if $a = loaded
- and $c = hippy
- and $stumm = laut
- SendRexx HIPPOPLAYER VOLUME=0
-
- update PlayGUI 3 "MUTE"
-
- stumm = leise
- gosub PlayGUI Hopp
-
- elseif $a = loaded
- and $c = hippy
- and $stumm = leise
- SendRexx HIPPOPLAYER VOLUME=$vol
-
- update PlayGUI 3 "Volume set to $vol"
-
- stumm = laut
- gosub playGUI Hopp
-
-
- else
- gosub PlayGUI Hopp
- endif
-
- xMENU 'OPTIONS' 'Module' 'Personal Volume' 'v'
- gosub PlayGUI PersVol
-
- xROUTINE PersVol
-
- if $a = loaded
- and $c = hippy
- and $pvol = NO
- SendRexx HIPPOPLAYER VOLUME=$vol2
-
- update PlayGUI 3 "Personal vol"
-
- pvol = YES
- gosub PlayGUI Hopp
-
- elseif $a = loaded
- and $c = hippy
- and $pvol = YES
- SendRexx HIPPOPLAYER VOLUME=$vol
-
- update PlayGUI 3 "Volume set to $vol"
-
- pvol = NO
- gosub playGUI Hopp
-
-
- else
- gosub PlayGUI Hopp
- endif
-
-
- xMENU 'OPTIONS' 'Sample' 'Eject' 'n'
- ReqFile 0 0 200 400 "Choose a sample..." LOAD sample $SAMPLEPATH
- b = loaded
- extract sample FILE sname
- update PlayGUI 1 '$sname'
- update PlayGUI 2 'Select sample'
- update PlayGUI 3 ''
-
- xMENU 'OPTIONS' 'Sample' 'Play' 'g'
- if $b = loaded
- and $P16LOOP = YES
- and $P16FILTER = YES
- gosub PlayGUI beidesja
-
- elseif $b = loaded
- and $P16LOOP = NO
- and $P16FILTER = NO
- gosub PlayGUI beidesnein
-
- elseif $b = loaded
- and $P16LOOP = YES
- and $P16FILTER = NO
- gosub PlayGUI loopjafilternein
-
- elseif $b = loaded
- and $P16LOOP = NO
- and $P16FILTER = YES
- gosub PlayGUI loopneinfilterja
-
- else
- Gosub PlayGUI Hopp
- endif
-
-
- XROUTINE filterein
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol FILTER=ON'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE filteraus
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol FILTER=OFF'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE beidesja
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol L=0 FILTER=ON'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE beidesnein
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol l=1 FILTER=OFF'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE loopjafilternein
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol l=0 Filter=off'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE loopneinfilterja
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol L=1 FILTER=ON'
- gosub PlayGUI Samplename
- d = play16
-
- XROUTINE Samplename
-
- extract sample FILE sname
- update PlayGUI 2 "$sname"
-
- if $P16LOOP = YES
- update PlayGUI 1 "LOOP: ON"
- elseif $P16LOOP = NO
- update PlayGUI 1 "LOOP: OFF"
- endif
-
- if $P16FILTER = YES
- update PlayGUI 3 "FILTER: ON"
- elseif $P16FILTER = NO
- update PlayGUI 3 "FILTER: OFF"
- endif
-
-
-
- xMENU 'OPTIONS' 'Sample' 'Stop' 't'
- if $b = loaded
- BreakTask $PLAY16PATH C
- d = play16end
- update PlayGUI 1 'Stop sample'
- update PlayGUI 2 ''
- update PlayGUI 3 ''
- endif
-
- xMenu OPTIONS BARLABEL '' ''
-
- xMenu 'OPTIONS' 'Launch' '' 'l'
- ReqFile 0 0 200 400 "Choose a music-tool..." LOAD tool $LAUNCHPATH
- CLI 'C:RUN >NIL: $tool'
-
- xMENU 'OPTIONS' 'Choose Scope' '' 'y'
- ReqFile 0 0 200 400 "Choose a scope..." LOAD scope $SCOPEPATH
- CLI 'C:RUN >NIL: $scope'
-
- xMENU 'OPTIONS' 'Autoplay' 'ON' ''
- AUTOPLAY = YES
-
- xMENU 'OPTIONS' 'Autoplay' 'OFF' ''
- AUTOPLAY = NO
-
- xMENU OPTIONS BARLABEL '' ''
-
- xMENU 'OPTIONS' 'Copy to mod dir' '' 'd'
- if $a = loaded
- gosub PlayGUI ModCopylos
- else
- ezreq 'There is no mod in memory!' 'You are right!' righty
- endif
-
- XROUTINE ModCopylos
- ifexists DIR $COPYPATH
- CLI 'C:Copy $module to $COPYPATH'
- ezReq 'Finished!' 'Good' good
- else
- ezreq "DIR not found!" "Fine!" fine
- endif
-
- xMENU 'OPTIONS' 'Copy to sample dir' '' ''
- if $b = loaded
- gosub PlayGUI SampleCopy
- else
- ezreq "There is no sample in memory!" "You are right!" righty
- endif
-
- XRoutine SampleCopy
- ifexists FILE $sample
- gosub PlayGUI SampleCopylos
- else
- ezreq "Sample not found!" "Ok" ok
- endif
-
- xROUTINE SampleCopylos
- ifexists DIR $COPYPATH2
- CLI 'C:Copy $sample to $COPYPATH2'
- ezReq 'Finished!' 'Good' good
- else
- ezreq "DIR not found!" "Argh!" argh
- endif
-
- xMENU OPTIONS BARLABEL '' ''
-
- xMENU 'OPTIONS' 'Config' '' ''
- guiopen Voreinstellung
-
-
- xMENU 'OPTIONS' 'Save Config' '' ''
- gosub PathConfig SavePaths
-
- xMENU 'MODINFO' 'INFO Window' '' '+'
- short = yep
- GOSUB PlayGUI AllInfo
-
- xMenu MODINFO BARLABEL '' ''
-
- xMENU 'MODINFO' 'Playtime' '' ''
- if $a = loaded
- and $c = hippy
- GOSUB PlayGUI TimeInfo
- else
- ezreq "Play a mod first!" "Jep!" jep
- endif
-
- xMENU 'MODINFO' 'Modsize' '' ''
- if $a = loaded
- and $c = hippy
- GOSUB PlayGUI SizeInfo
- else
- ezreq "Play a mod first!" "Jep!" jep
- endif
-
- xMENU 'MODINFO' 'Modtype' '' ''
- if $a = loaded
- and $c = hippy
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET TYPE"
- *typ = $$REXXRET
- update PlayGUI 3 "$*typ"
- else
- ezreq "Play a mod first!" "Jep!" jep
- endif
-
- xMENU 'MODINFO' 'Current Songposition' '' ''
- if $a = loaded
- and $c = hippy
- GOSUB PlayGUI CurrentInfo
- else
- ezreq "Play a mod first!" "Jep!" jep
- endif
-
- xMENU 'MODINFO' 'Max Songposition' '' ''
- if $a = loaded
- and $c = hippy
- GOSUB PlayGUI MaxInfo
- else
- ezreq "Play a mod first!" "Jep!" jep
- endif
-
- xMenu 'SOUND' '8 BIT Soundquality' '' '8'
-
- CLI 'delete S:HippoPlayer.prefs QUIET'
- CLI 'Copy PlayGUI:SoundPrefs/8Bit/HippoPlayer.prefs to S:'
- Update PlayGUI 3 "Soundquality=8BIT"
-
- xMenu 'SOUND' '14 BIT Soundquality' '' '4'
-
- CLI 'delete S:HippoPlayer.prefs QUIET'
- CLI 'Copy PlayGUI:SoundPrefs/14Bit/HippoPlayer.prefs to S:'
- Update PlayGUI 3 "Soundquality=14BIT"
-
- xMENU 'SOUND' 'AHI Prefs' '' '6'
-
- CLI 'delete S:HippoPlayer.prefs QUIET'
- CLI 'Copy PlayGUI:SoundPrefs/AHI/HippoPlayer.prefs to S:'
- Update PlayGUI 3 "Soundquality=16BIT"
-
- xMENU 'SOUND' 'USER Prefs' '' 'u'
-
- CLI 'delete S:HippoPlayer.prefs QUIET'
- CLI 'Copy PlayGUI:SoundPrefs/USER/HippoPlayer.prefs to S:'
- Update PlayGUI 3 "Soundquality=USER"
-
-
- xMENU 'P16PREFS' 'Loop Samples' 'ON' '0'
-
-
-
- P16LOOP = YES
-
- if $d = play16
- update PlayGUI 1 "LOOP: ON"
- endif
-
- xMENU 'P16PREFS' 'Loop Samples' 'OFF' '1'
-
-
- P16LOOP = NO
-
- if $d = play16
- update PlayGUI 1 "LOOP: OFF"
- endif
-
-
- xMENU 'P16PREFS' 'Filter' 'ON' '2'
-
- P16FILTER = YES
-
- if $d = play16
- update PlayGUI 3 "FILTER: ON"
- endif
-
-
- xMENU 'P16PREFS' 'Filter' 'OFF' '3'
-
- P16FILTER = NO
-
- if $d = play16
- update PlayGUI 3 "FILTER: OFF"
- endif
-
- xMenu P16PREFS BARLABEL '' ''
-
-
- xMENU 'P16PREFS' 'Save Prefs' '' ''
- gosub PathConfig SavePaths
-
- xMENU 'THEMES' 'Load Theme' '' ''
-
- ReqFile 0 0 200 400 "Choose theme dir..." DIR THEMEPATH #PLAYGUI:Themes/
- gosub PlayGUI OpenTheme
-
- xROUTINE OpenTheme
-
- THEME = YES
- ifexists DIR $THEMEPATH
- gosub PlayGUI NewThemeLoad
- else
- ezreq "Cannot find theme!" "ok" ok
- endif
-
- xROUTINE NewThemeLoad
- assign Themes: $THEMEPATH
- ifexists FILE Themes:Pattern/PGpattern
- freeimage GuiPattern
- loadimage Themes:Pattern/PGpattern GuiPattern Workbench
- gosub PlayGUI DoQuitSound
- else
- ezreq "Cannot find theme element!" "Ok" ok
- endif
-
- xROUTINE DoQuitSound
-
- ifexists FILE Themes:Sounds/SoundEnd
- TQUITSOUND = Themes:Sounds/SoundEnd
- gosub PlayGUI DoStartSound
- else
- ezreq "Cannot find quit sound!" "Ok" ok
- endif
-
-
- xROUTINE DoStartSound
- ifexists FILE Themes:Sounds/SoundStart
- TSTARTSOUND = Themes:Sounds/SoundStart
- gosub PlayGUI DoSkin
- else
- ezreq "Cannot find start sound!" "Ok" ok
- endif
-
- xROUTINE DoSkin
- ifexists FILE Themes:Skin/main.iff
- assign Skins: Themes:Skin/
- gosub PlayGUI Wechsel2
- else
- ezreq "Cannot find skin!" "Ok" ok
- endif
-
- xMENU 'THEMES' 'Save Theme' '' ''
- gosub PathConfig SavePaths
-
- xMENU 'PLUGINS' 'Plone' '' ''
- IfExists DIRECTORY $PLONEPATH
- assign GUIPlone: $PLONEPATH
- GuiLoad GUIPlone:Plone
- else
- ezreq "No plugin! Maybe wrong path?" "Maybe.." maybe
- endif
-
- ; BUTTON - DEFINITIONEN
-
- xAPPWindow module
- a = loaded
-
- if $a = loaded
- and $short = yep
- gosub PlayGUI InfoPlay
-
- elseif $a = loaded
- and $short = nope
- gosub PlayGUI NormalPlay
-
- endif
-
-
- XAREA 3 3 15 15 BOX
- guiopen QuickMenu
-
-
- XAREA 250 95 20 18 BOX
- gosub PlayGUI mini
-
- XAREA 15 85 20 18 NOBOX
- Gadhelp "Info about the Module"
- gosub PlayGUI ModSamInfo
-
- xROUTINE ModSamInfo
-
- if $a = loaded
- and $c = hippy
- SendRexx HIPPOPLAYER SAMPLES
- else
- gosub PlayGUI Hopp
- endif
-
- XAREA 99 85 20 18 NOBOX
- Gadhelp "FORWARD"
- gosub PlayGUI ForwMod
-
- xROUTINE ForwMod
- if $a = loaded
- and $c = hippy
- SendRexx HIPPOPLAYER FFWD
- else
- gosub PlayGUI Hopp
- endif
-
- XAREA 78 85 20 18 NOBOX
- Gadhelp "REWIND"
- gosub PlayGUI RewMod
-
- xROUTINE RewMod
- if $a = loaded
- and $c = hippy
- SendRexx HIPPOPLAYER REW
- else
- gosub PlayGUI Hopp
- endif
-
-
-
-
- XAREA 36 85 20 18 NOBOX
- Gadhelp "Play selected module"
- if $a = loaded
- and $short = yep
- gosub PlayGUI InfoPlay
-
- elseif $a = loaded
- and $short = nope
- gosub PlayGUI NormalPlay
-
- elseif $c = hippyend
- gosub PlayGUI choice
- endif
-
- XROUTINE InfoPlay
-
- CLI 'C:run >NIL: $HIPPOPATH hide $module'
- extract module FILE *mody
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET SIZE"
- *size = $$REXXRET
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET DURA"
- *time = $$REXXRET
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET TYPE"
-
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET CSPO"
- *curr = $$REXXRET
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET MSPO"
- *max = $$REXXRET
-
- SendRexx HIPPOPLAYER "GET TYPE"
- *typ = $$REXXRET
- update PlayGUI 3 "$*typ"
-
- update Shortinfo 10 "NAME: $*mody"
- update Shortinfo 11 "MODTYPE: $*typ"
- update Shortinfo 12 "SIZE: $*size bytes"
- if $*time = 0
- update ShortInfo 13 "TIME: Not available"
- elseif $*time > 0
- update Shortinfo 13 "TIME: $*time seconds"
- endif
- if $*max = 0
- update ShortInfo 14 "MAXIMAL POSITION: Not available"
- elseif $*max > 0
- update Shortinfo 14 "MAXIMAL POSITION: $*max"
- endif
- update PlayGUI 1 '$*mody'
- update PlayGUI 2 "Playing mod"
- c = hippy
- stop = na
-
-
- XROUTINE NormalPlay
-
-
- CLI 'C:run >NIL: $HIPPOPATH hide $module'
- extract module FILE *mody
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET SIZE"
- *size = $$REXXRET
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET DURA"
- *time = $$REXXRET
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET TYPE"
-
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET CSPO"
- *curr = $$REXXRET
-
- WAIT PORT "HIPPOPLAYER" 5000
- SendRexx HIPPOPLAYER "GET MSPO"
- *max = $$REXXRET
-
- SendRexx HIPPOPLAYER "GET TYPE"
- *typ = $$REXXRET
- update PlayGUI 3 "$*typ"
-
- update PlayGUI 1 '$*mody'
- update PlayGUI 2 "Playing mod"
- c = hippy
- stop = na
-
-
-
-
-
-
- ;PLAYSAMPLE
-
- XAREA 153 21 20 18 NOBOX
- Gadhelp "Play selected sample"
-
- if $b = loaded
- and $P16LOOP = YES
- and $P16FILTER = YES
- gosub PlayGUI beidesja
-
- elseif $b = loaded
- and $P16LOOP = NO
- and $P16FILTER = NO
- gosub PlayGUI beidesnein
-
- elseif $b = loaded
- and $P16LOOP = YES
- and $P16FILTER = NO
- gosub PlayGUI loopjafilternein
-
- elseif $b = loaded
- and $P16LOOP = NO
- and $P16FILTER = YES
- gosub PlayGUI loopneinfilterja
-
- else
- Gosub PlayGUI Hopp
- endif
-
-
- XROUTINE filterein
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol FILTER=ON'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE filteraus
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol FILTER=OFF'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE beidesja
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol L=0 FILTER=ON'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE beidesnein
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol l=1 FILTER=OFF'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE loopjafilternein
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol l=0 Filter=off'
- gosub PlayGui Samplename
- d = play16
-
- XROUTINE loopneinfilterja
-
- CLI 'C:run >NIL: $PLAY16PATH $sample volume=$vol L=1 FILTER=ON'
- gosub PlayGUI Samplename
- d = play16
-
- XROUTINE Samplename
-
- extract sample FILE sname
- update PlayGUI 2 "$sname"
-
- if $P16LOOP = YES
- update PlayGUI 1 "LOOP: ON"
- elseif $P16LOOP = NO
- update PlayGUI 1 "LOOP: OFF"
- endif
-
- if $P16FILTER = YES
- update PlayGUI 3 "FILTER: ON"
- elseif $P16FILTER = NO
- update PlayGUI 3 "FILTER: OFF"
- endif
-
-
-
-
- XAREA 57 85 20 18 NOBOX
- Gadhelp "Stop playing the module"
- gosub PlayGUI StopMod
-
-
- xROUTINE StopMod
-
- if $a = loaded
- and $stop = na
-
-
- CLI 'C:run >NIL: $HIPPOPATH quit'
-
-
- stop = ja
- c = hippyend
- update PlayGUI 1 'Stop module'
- update PlayGUI 2 ''
- update PlayGUI 3 ''
-
- else
- gosub PlayGUI Hopp
- endif
-
- XAREA 173 21 20 18 NOBOX
- Gadhelp "Stop playing the sample"
- if $b = loaded
- BreakTask $PLAY16PATH C
- d = play16end
- update PlayGUI 1 'Stop sample'
- update PlayGUI 2 ''
- update PlayGUI 3 ''
- endif
-
- XAREA 193 21 20 18 NOBOX
- Gadhelp "Select a sample"
- ReqFile 0 0 200 400 "Choose a sample..." LOAD sample $SAMPLEPATH
- b = loaded
- extract sample FILE sname
- update PlayGUI 1 '$sname'
- update PlayGUI 2 'Select sample'
- update PlayGUI 3 ''
-
- XAREA 129 85 20 18 NOBOX
- Gadhelp "Select a module"
- gosub PlayGUI SelMod
-
- xROUTINE SelMod
-
- ReqFile 0 0 200 400 "Choose a module..." LOAD module $MODPATH
- if $AUTOPLAY = YES
- gosub PlayGUI Sofort
- else
- gosub PlayGUI Nichtsofort
- endif
-
- xROUTINE Nichtsofort
-
- ifexists FILE $module
- extract module FILE mody
- update PlayGUI 1 '$mody'
- update PlayGUI 2 'Select mod'
- a = loaded
- else
- ezreq "No mod selected" "I know!" jep
- endif
-
-
- xROUTINE Sofort
- ifexists FILE $module
- extract module FILE mody
- update PlayGUI 1 '$mody'
- update PlayGUI 2 'Select mod'
- a = loaded
- gosub PlayGUI WasSpielen
- else
- ezreq "No mod selected" "I know!" jep
- endif
-
- xROUTINE WasSpielen
- if $a = loaded
- and $short = yep
- gosub PlayGUI InfoPlay
-
- elseif $a = loaded
- and $short = nope
- gosub PlayGUI NormalPlay
-
- elseif $c = hippyend
- gosub PlayGUI choice
- endif
-
- XAREA 160 85 50 18 NOBOX
- Gadhelp "Launch your favourite Music-tool!"
- ReqFile 0 0 200 400 "Choose a music-tool..." LOAD tool $LAUNCHPATH
- CLI 'C:RUN >NIL: $tool'
-
-
- XAREA 213 20 50 20 NOBOX
- gadhelp "Write commentary about the current module or sample and save it"
-
-
- GuiLoad :PlayInfo
-
-
- XAREA 210 85 35 18 NOBOX
- Gadhelp "Quit PlayGUI"
- gosub PlayGUI DASENDE
-
- xROUTINE DASENDE
- EZReq "Really quit PlayGUI?" "Quit|Cancel" quity
- if $quity = 1
- and $c = hippy
- gosub PlayGUI SQUIT
- elseif $quity = 1
- and $d = play16
- BreakTask $PLAY16PATH C
- gosub PlayGUI ENDE
- elseif $quity = 1
- gosub PlayGUI ENDE
- elseif $quity = 1
- and $c = Hipppyend
- gosub PlayGUI ENDE
- elseif $quity = 1
- and $d = play16end
- gosub PlayGUI ENDE
- else
- Gosub PlayGUI Hopp
- endif
-
- xROUTINE SQUIT
- CLI 'C:run >NIL: $HIPPOPATH quit'
- if $THEME = YES
- CLI 'C:run >NIL: $PLAY16PATH $TQUITSOUND'
- gosub PlayGUI ENDE5
- elseif $THEME = NO
- CLI 'C:run >NIL: $PLAY16PATH $QUITSOUND'
- gosub PlayGUI ENDE5
- endif
-
- xROUTINE ENDE5
-
- freeimage haut
- freeimage Barmod
- freeimage BarSam
- freeimage BarOpt
- freeimage BarVol
- freeimage GuiPattern
- freeimage ab
- guiquit PlayGUI
- guiquit ShortInfo
- guiquit SYSInfo
- guiquit MiniPlay
- guiquit PGAbout
- guiquit Voreinstellung
- guiquit OptionConfig
- guiquit StartupConfig
- guiquit PathConfig
- guiquit P16Config
- guiquit SetVolume
- guiquit Themes
- guiquit QuickMenu
- guiquit Preview
- guiquit ThemeCreate
- guiquit ShowPattern
- guiquit ShowSkin
-
-
-
-
- XROUTINE TimeInfo
- SendRexx HIPPOPLAYER 'GET DURA'
- *time = $$REXXRET
- Update PlayGUI 3 'Total:$*time Sec'
-
- XROUTINE SizeInfo
- SendRexx HIPPOPLAYER 'GET SIZE'
- *size = $$REXXRET
- Update PlayGUI 3 'Size:$*size bytes'
-
-
- XROUTINE CurrentInfo
- SendRexx HIPPOPLAYER 'GET CSPO'
- *curr = $$REXXRET
- Update PlayGUI 3 'Current Position $*curr'
-
-
- XROUTINE MaxInfo
- SendRexx HIPPOPLAYER 'GET MSPO'
- *max = $$REXXRET
- Update PlayGUI 3 'Max Position:$*max'
-
- XROUTINE AllInfo
- GuiOpen ShortInfo
-
- ;Info Update
-
-
- XAREA 18 25 126 38 BOX
- Gadhelp "Info about the Module"
- if $a = loaded
- and $c = hippy
- SendRexx HIPPOPLAYER SAMPLES
- else
- gosub PlayGUI Hopp
- endif
-
-
-
-
- ;Text 23 33 10 19 '' 21 NOBOX
- XTEXTBOX 18 23 126 14 '' ''
- attr tbstyle 2/3/plain/left
- attr tbox 2/1/1/none/out
- gadid 2
-
- ;Text 23 20 10 20 '' 25 NOBOX
- XTEXTBOX 18 37 126 14 '' ''
- attr tbstyle 2/3/plain/left
- attr tbox 2/1/1/none/out
- gadid 1
-
- ;text 23 46 10 20 '' 25 NOBOX
- XTEXTBOX 18 51 126 14 '' ''
- attr tbstyle 2/3/plain/left
- attr tbox 2/1/1/none/out
- gadid 3
-
- ;+++Short info about module+++
-
- NewFile ShortInfo
-
-
- WINBIG 27 318 240 150 "SHORT INFO"
- wintype 01110000
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- XBUTTON 170 10 60 20 "_Close"
- short = nope
- guiclose ShortInfo
-
- LINE 10 58 235 58 1
- LINE 10 78 235 78 1
- LINE 10 98 235 98 1
- LINE 10 118 235 118 1
- LINE 10 138 235 138 1
-
- XBUTTON 90 10 60 20 "_HELP"
- ezreq "Just play a mod to update a mod information!" "Very good" gut
-
- XBUTTON 10 10 60 20 "_Refresh"
-
- VARPATH PlayGUI
-
- if $a = loaded
- and $c = hippy
-
- update Shortinfo 10 "NAME: $*mody"
- update Shortinfo 11 "MODTYPE: $*typ"
- update Shortinfo 12 "SIZE: $*size bytes"
- if $*time = 0
- update ShortInfo 13 "TIME: Not available"
- else
- update Shortinfo 13 "TIME: $*time seconds"
- endif
- if $*max = 0
- update ShortInfo 14 "MAXIMAL POSITION: Not available"
- else
- update Shortinfo 14 "MAXIMAL POSITION: $*max"
- endif
- else
- ezreq "Play a mod first!" "Jep" jep
- endif
-
- TEXT 10 40 20 20 '' 50 NOBOX
- gadid 10
-
- TEXT 10 60 20 20 '' 50 NOBOX
- gadid 11
-
- TEXT 10 80 20 20 '' 40 NOBOX
- gadid 12
-
- TEXT 10 100 20 20 '' 40 NOBOX
- gadid 13
-
- TEXT 10 120 20 20 '' 40 NOBOX
- gadid 14
-
- ;----------------------------------------------------------------------------
- NewFile MiniPlay
-
- WINBIG 0 0 135 20 "MINI PLAY"
- wintype 11110000
- image 1 1 BarMod
-
-
- xONCLOSE
- GuiOpen PlayGUI
-
- xMENU 'MiniPLAY' 'HELP' '' ''
- ezreq "To maximize - click on the close gadget!" "OK!" ok
-
- xMENU 'MiniPLAY' 'Close' '' '-'
- GuiClose MiniPlay
- GuiOpen PlayGUI
-
- xMENU 'PLUGINS' 'Plone' '' ''
- IfExists DIRECTORY $PLONEPATH
- assign GUIPlone: $PLONEPATH
- GuiLoad GUIPlone:Plone
- else
- ezreq "No plugin! Maybe wrong path?" "Maybe.." maybe
- endif
-
- xAREA 0 0 20 18 NOBOX
- gosub PlayGUI ModSamInfo
-
- xAREA 21 0 20 18 NOBOX
- gosub PlayGUI NormalPlay
-
- xAREA 42 0 20 18 NOBOX
- gosub PlayGUI StopMod
-
- xAREA 62 0 20 18 NOBOX
- gosub PlayGUI RewMod
-
- xAREA 83 0 20 18 NOBOX
- gosub PlayGUI ForwMod
-
- xAREA 110 0 20 18 NOBOX
- gosub PlayGUI SelMod
-
- ;------------------------------------------------------------------------------------
-
- NEWFile QuickMenu
- WINBIG -1 -1 100 130 "QuickMenu"
- wintype 11010000
- WINONMOUSE 10 10
-
- VARPATH PlayGUI
-
- xONCLOSE
- guiclose QuickMenu
-
- xButton 10 5 80 20 "Plone"
-
- guiclose QuickMenu
-
- IfExists DIRECTORY $PLONEPATH
- assign GUIPlone: $PLONEPATH
- GuiLoad GUIPlone:Plone
- else
- ezreq "No plugin! Maybe wrong path?" "Maybe.." maybe
- endif
-
-
- xButton 10 25 80 20 "New Skin"
-
- guiclose QuickMenu
-
- gosub PlayGUI NeuHaut
-
- xButton 10 45 80 20 "Config"
- guiclose QuickMenu
- guiopen Voreinstellung
-
- xButton 10 65 80 20 "Pause/Cont"
- gosub PlayGUI PausCont
-
- xButton 10 85 80 20 "MUTE"
- gosub PlayGUI Ruhe
-
- xButton 10 105 80 20 "PVolume"
- gosub PlayGUI PersVol
-
-
- ;-------------------------------------------------------------------------------------
-
- NewFile SYSInfo
-
-
- WINBIG 0 0 420 340 "SYS INFO"
- wintype 01110000
-
- VARPATH PlayGUI
-
- xBUTTON 10 20 100 20 "Show _paths"
- Update SYSInfo 30 "Path of Hippoplayer = $HIPPOPATH"
- Update SYSInfo 31 "Path of Play16 = $PLAY16PATH"
- Update SYSInfo 32 "Path of your Mods = $MODPATH"
- Update SYSInfo 33 "Path of your Samples = $SAMPLEPATH"
- Update SYSInfo 34 "Launchpath = $LAUNCHPATH"
- Update SYSInfo 35 "Path of Plone = $PLONEPATH"
- Update SYSInfo 36 "Path of scopes = $SCOPEPATH"
- Update SYSInfo 37 "Copypath of mods = $COPYPATH"
- Update SYSInfo 38 "Copypath of samples = $COPYPATH2"
- Update SYSInfo 40 "YAMpath = $YAMPATH"
- Update SYSInfo 39 "Browserpath = $BROWSERPATH"
-
- xBUTTON 120 20 100 20 "Show _config"
- Update SYSInfo 30 "Launch Plone at startup = $PLONESTART"
- Update SYSInfo 31 "Launch ModINFO at startup = $STARTMODINFO"
- Update SYSInfo 32 "Autoplay modules = $AUTOPLAY"
- Update SYSInfo 33 "Play16 loop mode = $P16LOOP"
- Update SYSInfo 34 "Play16 filter mode = $P16FILTER"
- Update SYSInfo 35 "Default skin = $SKINSELECT"
- Update SYSInfo 36 "Personal volume = $vol2"
- Update SYSInfo 37 "Use Themes = $THEME"
- Update SYSInfo 38 "Pattern = $GuiPattern"
- Update SYSInfo 39 "StartSound = $STARTSOUND"
- Update SYSInfo 40 "QuitSound = $QUITSOUND"
- xBUTTON 240 20 100 20 "_Exit"
- guiclose SYSInfo
-
- Text 10 50 400 20 '' 280 BOX
- gadid 30
- Text 10 75 400 20 '' 280 BOX
- gadid 31
- Text 10 100 400 20 '' 280 BOX
- gadid 32
- Text 10 125 400 20 '' 280 BOX
- gadid 33
- Text 10 150 400 20 '' 280 BOX
- gadid 34
- Text 10 175 400 20 '' 280 BOX
- gadid 35
- Text 10 200 400 20 '' 280 BOX
- gadid 36
- Text 10 225 400 20 '' 280 BOX
- gadid 37
- Text 10 250 400 20 '' 280 BOX
- gadid 38
- Text 10 275 400 20 '' 280 BOX
- gadid 39
- Text 10 300 400 20 '' 280 BOX
- gadid 40
-
- ;------------------------------------------------------------
- Newfile PGAbout
-
- WINBIG -1 -1 240 310 "About..."
- wintype 00000000
- VARPATH PlayGUI
-
- image 0 0 ab
-
- CTEXT 40 130 "PlayGUI - Copyright 1999-2000" xHelvetica.font 11 2 -1 00000
- CTEXT 55 155 "by Richard Kapp using G4C" xHelvetica.font 11 2 -1 00000
- CTEXT 40 255 "- SEND YOUR SKINS,THEMES TO -" xHelvetica.font 11 1 -1 00020
- CTEXT 40 280 "------ playgui@gmx.net ------" xHelvetica.font 11 1 -1 00020
-
- xBUTTON 20 180 200 20 "e-mail:Narr.cybersdorf@gmx.net"
- CLI 'run >NIL: $YAMPATH QUIET'
- xBUTTON 20 205 200 20 "www:http://playgui.cxa.de"
- CLI 'run >NIL: $BROWSERPATH http://playgui.cxa.de'
-
- xBUTTON 90 230 60 15 "OKAY"
- guiclose PGAbout
-
- ;------------------------------------------------------------
-
- Newfile Voreinstellung
-
- WINBIG -1 -1 160 220 "PlayGUI Config"
- wintype 11010000
- WINBACKGROUND IMAGE GuiPattern 0
-
- xONCLOSE
- guiclose Voreinstellung
-
- BOX 10 10 140 160 IN RIDGE
-
- xBUTTON 20 20 120 20 "Startup Config"
- guiclose Voreinstellung
- guiopen StartupConfig
-
- xBUTTON 20 50 120 20 "Option Config"
- guiclose Voreinstellung
- guiopen OptionConfig
-
- xBUTTON 20 80 120 20 "Path Config"
- guiclose Voreinstellung
- guiopen PathConfig
-
- xBUTTON 20 110 120 20 "Play16"
- guiclose Voreinstellung
- guiopen P16Config
-
- xBUTTON 20 140 120 20 "Themes"
- guiclose Voreinstellung
- guiopen Themes
-
- xBUTTON 15 180 60 20 "_OK"
- guiclose Voreinstellung
-
- xBUTTON 85 180 60 20 "_SAVE"
- gosub PathConfig SavePaths
- guiclose Voreinstellung
- ;-------------------------------------------------------------
-
-
- Newfile StartupConfig
-
- WINBIG -1 -1 220 140 "Startup Config"
- wintype 11010000
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- xONCLOSE
- guiclose StartupConfig
- guiopen Voreinstellung
-
- BOX 10 30 200 70 IN RIDGE
-
- VARPATH PlayGUI
-
- CTEXT 70 10 "PlayGUI Startup" XHelvetica.font 11 2 -1 00000
- CTEXT 20 45 "Start PLONE" XHelvetica.font 11 2 -1 00000
- CTEXT 20 75 "Start MODINFO" XHelvetica.font 11 2 -1 00000
-
- xCYCLER 100 40 100 20 "" PLONESTART
- CSTR "Select" "Select"
- CSTR "YES" YES
- CSTR "NO" NO
-
- xCYCLER 100 70 100 20 "" STARTMODINFO
- CSTR "Select" "Select"
- CSTR "YES" YES
- CSTR "NO" NO
-
- xBUTTON 85 110 50 20 "_OK"
- guiclose StartupConfig
- guiopen Voreinstellung
- ;-----------------------------------------------------------
-
- Newfile OptionConfig
-
- WINBIG -1 -1 350 400 "Option Config"
- wintype 11010000
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- VARPATH PlayGUI
-
- xONCLOSE
- guiclose OptionConfig
- guiopen Voreinstellung
-
- BOX 10 30 330 40 IN RIDGE
-
- BOX 10 100 330 40 IN RIDGE
-
- BOX 10 170 330 40 IN RIDGE
-
- BOX 10 240 330 100 IN RIDGE
-
-
- CTEXT 10 10 "Options..." XHelvetica.font 11 2 -1 00000
- CTEXT 10 77 "Choose Default Pattern..." XHelvetica.font 11 2 -1 00000
- CTEXT 10 147 "Choose Default Skin..." XHelvetica.font 11 2 -1 00000
- CTEXT 10 217 "Choose Sounds..." XHelvetica.font 11 2 -1 00000
- CTEXT 30 243 "Choose Startsound..." XHelvetica.font 11 2 -1 00000
- CTEXT 30 282 "Choose Quitsound..." XHelvetica.font 11 2 -1 00000
- CTEXT 27 43 "Autoplay" XHelvetica.font 11 2 -1 00000
-
- xCYCLER 80 40 100 20 "" AUTOPLAY
- CSTR 'Select' "Select"
- CSTR 'OFF' NO
- CSTR 'ON' YES
-
- xTEXTIN 30 110 220 20 '' GuiPattern '' 200
- gadid 60
-
- XTEXTIN 30 180 220 20 '' SKINSELECT '' 200
- gadid 61
-
- xTEXTIN 30 260 220 20 '' STARTSOUND '' 200
- gadid 62
-
- xTEXTIN 30 300 220 20 '' QUITSOUND '' 200
- gadid 63
-
- xBUTTON 190 40 130 20 "Set Personal _Volume"
- guiopen SetVolume
-
- xBUTTON 260 110 30 20 "Set"
- ReqFile 0 0 200 400 "Choose pattern...." LOAD GuiPattern PLAYGUI:SYS/Patterns/
- Update OptionConfig 60 '$GuiPattern'
-
- xBUTTON 300 110 30 20 "Test"
- ifexists FILE $GuiPattern
- loadimage $GuiPattern TestPattern Workbench
- guiopen ShowPattern
- else
- ezreq "Cannot find pattern! Maybe wrong path?" "Yep!" yep
- endif
-
- xBUTTON 260 180 30 20 "Set"
- ReqFile 0 0 200 400 "Choose skin path..." DIR SKINSELECT #PLAYGUI:Skins/
- Update OptionConfig 61 '$SKINSELECT'
-
- xBUTTON 300 180 30 20 "Test"
- ifexists DIR $SKINSELECT
- assign Skins: $SKINSELECT
- loadimage Skins:main.iff TestSkin Workbench
- guiopen ShowSkin
- else
- ezreq "Cannot find skin!" "Ok" ok
- endif
-
- xBUTTON 260 260 30 20 "Set"
- ReqFile 0 0 200 400 "Choose Startsound..." LOAD STARTSOUND PlayGUI:SYS/Sounds/
- Update OptionConfig 62 '$STARTSOUND'
-
- xBUTTON 300 260 30 20 "Test"
- ifexists FILE $STARTSOUND
- CLI 'C:run >NIL: $PLAY16PATH $STARTSOUND'
- else
- ezreq "Cannot find sound!" "I see!" see
- endif
-
- xBUTTON 260 300 30 20 "Set"
- ReqFile 0 0 200 400 "Choose Quitsound..." LOAD QUITSOUND PLAYGUI:SYS/Sounds/
- Update OptionConfig 63 '$QUITSOUND'
-
- xBUTTON 300 300 30 20 "Test"
- ifexists FILE $QUITSOUND
- CLI 'C:run >NIL: $PLAY16PATH $QUITSOUND'
- else
- ezreq "Cannot find sound!" "I see!" see
- endif
-
- xBUTTON 100 360 70 20 "_USE"
- THEME = NO
- gosub OptionConfig ConfigUpdate
-
- xBUTTON 180 360 70 20 "_OK"
- THEME = NO
- guiclose OptionConfig
- guiopen Voreinstellung
-
- xROUTINE ConfigUpdate
- freeimage GuiPattern
- loadimage $GuiPattern GuiPattern Workbench
- gosub PlayGUI Wechsel
- guiclose OptionConfig
- guiopen Voreinstellung
-
- xBUTTON 10 360 80 20 "_Show config"
- Update OptionConfig 60 '$GuiPattern'
- Update OptionConfig 61 '$SKINSELECT'
- Update OptionConfig 62 '$STARTSOUND'
- Update OptionConfig 63 '$QUITSOUND'
-
- xBUTTON 260 360 80 20 "_Create Theme"
- guiopen ThemeCreate
-
- ;------------------------------------------
- Newfile ShowPattern
-
- WINBIG -1 -1 100 100 "SHOWING PATTERN..."
- Wintype 11010000
- WINBACKGROUND IMAGE TestPattern 0
-
- xONCLOSE
- guiclose ShowPattern
-
- ;-------------------------------------------------------------------
-
- Newfile ShowSkin
-
- WINBIG -1 -1 275 116 "SHOWING SKIN..."
- wintype 11010000
-
- image 0 0 TestSkin
-
- xONCLOSE
- guiclose ShowSkin
-
- ;-------------------------------------------------------------------
-
- Newfile ThemeCreate
-
- WINBIG -1 -1 280 110 "CREATE A THEME"
- wintype 11010000
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- VARPATH PlayGUI
-
- xONCLOSE
- guiclose SetVolume
-
- CTEXT 10 10 "Enter name of Theme..." XHelvetica.font 11 2 -1 00000
-
- xTEXTIN 10 40 260 20 '' Themename '' 100
-
- xBUTTON 10 70 80 20 "Create"
- CLI 'C:Makedir PlayGUI:Themes/$Themename'
- CLI 'C:assign ThemeCreation: PlayGUI:Themes/$Themename'
-
- CLI 'C:Makedir ThemeCreation:Skin'
- CLI 'C:Makedir ThemeCreation:Pattern'
- CLI 'C:Makedir ThemeCreation:Sounds'
- gosub ThemeCreate SavePatternNext
-
- xROUTINE SavePatternNext
- ifexists FILE $GuiPattern
- gosub ThemeCreate SavePatternNow
- else
- ezreq "Pattern is missing! Cannot create theme!" "Bad!" bad
- endif
-
- xROUTINE SavePatternNow
- CLI 'C:Copy $GuiPattern to ThemeCreation:Pattern/PGPattern'
- gosub ThemeCreate SaveThemeNextSkin
-
- xROUTINE SaveThemeNextSkin
- ifexists DIR $SKINSELECT
- gosub ThemeCreate SaveThemeSkinNow
- else
- ezreq "Skin is missing! Cannot create theme!" "Too bad!" bady
- endif
-
- xROUTINE SaveThemeSkinNow
- assign Skin: $SKINSELECT
- CLI 'C:Copy Skin:main.iff to ThemeCreation:Skin/'
- CLI 'C:Copy Skin:mod_bar to ThemeCreation:Skin/'
- CLI 'C:Copy Skin:volume_bar to ThemeCreation:Skin/'
- CLI 'C:Copy Skin:sample_bar to ThemeCreation:Skin/'
- CLI 'C:Copy Skin:option_bar to ThemeCreation:Skin/'
- gosub ThemeCreate SaveStartSoundNext
-
- xROUTINE SaveStartSoundNext
- ifexists FILE $STARTSOUND
- gosub ThemeCreate SaveStartSoundNow
- else
- ezreq "Start sound is missing! Cannot create theme!" "Ok Ok!" ok
- endif
-
- xROUTINE SaveStartSoundNow
- CLI 'C:Copy $STARTSOUND to ThemeCreation:Sounds/SoundStart'
- gosub ThemeCreate SaveQuitSoundNext
-
- xROUTINE SaveQuitSoundNext
- ifexists FILE $QUITSOUND
- gosub ThemeCreate SaveQuitSoundNow
- else
- ezreq "Quit sound is missing! Cannot create theme!" "Ok!" ok
- endif
-
- xROUTINE SaveQuitSoundNow
- CLI 'C:Copy $QUITSOUND to ThemeCreation:Sounds/SoundEnd'
- ezreq "Saved theme! Finished!" "Wow!" wow
-
-
- xBUTTON 100 70 80 20 "HELP"
- ezreq "Your settings will be used to create a theme in your THEMES dir!" "Ah!" ah
-
- xBUTTON 190 70 80 20 "Ok"
- guiclose ThemeCreate
-
- ;-------------------------------------------------------------------
- Newfile SetVolume
-
- WINBIG -1 -1 50 150 "Set Volume"
- wintype 10000000
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- VARPATH PlayGUI
-
- xONCLOSE
- guiclose SetVolume
-
-
- xVSLIDER 15 10 20 100 '' vol2 0 64 0 ''
- Update SetVolume 70 '$vol2'
-
- TEXT 10 120 30 20 '' 24 BOX
- gadid 70
-
- ;----------------------------------------------------------------
- Newfile P16Config
-
- WINBIG -1 -1 200 140 "Play16 Config"
- wintype 11010000
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- VARPATH PlayGUI
-
- xONCLOSE
- guiclose P16Config
- guiopen Voreinstellung
-
- CTEXT 60 10 "PLAY 16 Options" XHelvetica.font 11 2 -1 00000
- CTEXT 30 42 "LOOP" XHelvetica.font 11 2 -1 00000
- CTEXT 30 67 "FILTER" XHelvetica.font 11 2 -1 00000
- BOX 10 30 180 65 IN RIDGE
-
- xCYCLER 80 40 100 20 "" P16LOOP
- CSTR "Select" "Select"
- CSTR "ON" YES
- CSTR "OFF" NO
-
- xCYCLER 80 65 100 20 "" P16FILTER
- CSTR "Select" "Select"
- CSTR "ON" YES
- CSTR "OFF" NO
-
-
- xBUTTON 75 110 50 20 "_OK"
- guiclose P16Config
- guiopen Voreinstellung
-
- ;----------------------------------------------------------------
- Newfile Themes
-
- WINBIG -1 -1 260 220 "Themes Config"
- wintype 11010000
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- VARPATH PlayGUI
-
- xONCLOSE
- guiclose Themes
- guiopen Voreinstellung
-
- CTEXT 90 10 "Theme Options" XHelvetica.font 11 2 -1 00000
- CTEXT 20 40 "Choose Theme..." XHelvetica.font 11 2 -1 00000
- BOX 10 30 240 100 IN RIDGE
-
- GAUGE 10 140 240 20 OUT BUTTON 1 0 0
- gadid 100
-
- xBUTTON 190 40 50 20 "Show"
- Update Themes 80 '$THEMEPATH'
-
- xBUTTON 80 95 100 20 "Preview"
- ifexists DIR $THEMEPATH
- assign Themes: $THEMEPATH
- gosub Themes OpenPattern
- else
- ezreq "Cannot find theme dir!" "Ok" ok
- endif
-
- xRoutine OpenPattern
-
- ifexists FILE Themes:Pattern/PGpattern
- loadimage Themes:Pattern/PGpattern PrevPattern Workbench
- Update Themes 100 25
- gosub Themes OpenSkin
- else
- ezReq "Cannot find theme element!" "Ok" ok
- endif
-
- xROUTINE OpenSkin
- ifexists FILE Themes:Skin/main.iff
- loadimage Themes:Skin/main.iff prevskin Workbench
- Update Themes 100 50
- gosub Themes OpenQuitSound
- else
- ezreq "Cannot find skin!" "Ok" ok
- endif
-
- xROUTINE OpenQuitSound
- ifexists FILE Themes:Sounds/SoundEnd
- Update Themes 100 75
- gosub Themes OpenStartSound
- else
- ezreq "Cannot find quit sound" "Ok" ok
- endif
-
- xROUTINE OpenStartSound
- ifexists FILE Themes:Sounds/SoundStart
- Update Themes 100 100
- guiopen Preview
- else
- ezreq "Cannot find start sound!" "Ok" ok
- endif
-
- xTEXTIN 20 65 160 20 '' THEMEPATH '' 200
- gadid 80
-
- xBUTTON 190 65 50 20 "Set"
-
- ReqFile 0 0 200 400 "Choose theme dir..." DIR THEMEPATH #PLAYGUI:Themes/
- Update Themes 80 '$THEMEPATH'
-
- xBUTTON 45 180 60 20 "_USE"
- gosub PlayGUI OpenTheme
- guiclose Themes
- guiopen Voreinstellung
-
- xBUTTON 145 180 60 20 "_CANCEL"
- THEME = NO
- guiclose Themes
- guiopen Voreinstellung
- ;----------------------------------------------------------------
-
- Newfile Preview
-
- WINBIG -1 -1 275 240 "PREVIEW"
- wintype 11010000
- WINBACKGROUND IMAGE PrevPattern 0
- VARPATH PlayGUI
-
- xONLOAD
-
- image 0 0 prevskin
-
- xButton 5 200 130 20 "Test Startsound"
- CLI 'C:run >NIL: $PLAY16PATH Themes:Sounds/SoundStart'
-
- xButton 140 200 130 20 "Test Quitsound"
- CLI 'C:run >NIL: $PLAY16PATH Themes:Sounds/SoundEnd'
-
- xONCLOSE
- freesound prevend
- freesound prevstart
- freeimage prevskin
- freeimage PrevPattern
- guiclose Preview
-
- ;----------------------------------------------------------------
- Newfile PathConfig
-
- WINBIG -1 -1 350 400 "Path Config"
- wintype 11010001
-
- WINBACKGROUND IMAGE GuiPattern 0
-
- VARPATH PlayGUI
-
- xONCLOSE
- guiclose PathConfigConfig
- guiopen Voreinstellung
-
- CTEXT 130 360 "* Select PATH + FILE here" XHelvetica.font 11 2 -1 00000
-
- xBUTTON 10 360 100 20 "Show config"
- Update PathConfig 50 $HIPPOPATH
- Update PathConfig 51 $PLAY16PATH
- Update PathConfig 52 $MODPATH
- Update PathConfig 53 $SAMPLEPATH
- Update PathConfig 54 $PLONEPATH
- Update PathConfig 55 $LAUNCHPATH
- Update PathConfig 56 $SCOPEPATH
- Update PathConfig 57 $COPYPATH
- Update PathConfig 58 $COPYPATH2
- Update PathConfig 59 $YAMPATH
- Update PathConfig 60 $BROWSERPATH
-
-
- CText 5 10 "Path Config" XHelvetica.font 11 2 -1 00000
-
- xBUTTON 280 40 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose hippo path..." LOAD HIPPOPATH RAM:
- Update PathConfig 50 $HIPPOPATH
-
- xBUTTON 280 65 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose play16 path..." LOAD PLAY16PATH RAM:
- Update PathConfig 51 $PLAY16PATH
-
- xBUTTON 280 90 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose mod path..." LOAD MODPATH RAM:
- Update PathConfig 52 $MODPATH
-
- xBUTTON 280 115 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose sample path..." LOAD SAMPLEPATH RAM:
- Update PathConfig 53 $SAMPLEPATH
-
- xBUTTON 280 140 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose plone path..." LOAD PLONEPATH RAM:
- Update PathConfig 54 $PLONEPATH
-
- xBUTTON 280 165 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose launch path..." LOAD LAUNCHPATH RAM:
- Update PathConfig 55 $LAUNCHPATH
-
- xBUTTON 280 190 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose scope path..." LOAD SCOPEPATH RAM:
- Update PathConfig 56 $SCOPEPATH
-
- xBUTTON 280 215 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose mod copy path..." LOAD COPYPATH RAM:
- Update PathConfig 57 $COPYPATH
-
- xBUTTON 280 240 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose sample copy path..." LOAD COPYPATH2 RAM:
- Update PathConfig 58 $COPYPATH2
-
- xBUTTON 280 265 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose yam path..." LOAD YAMPATH RAM:
- Update PathConfig 59 $YAMPATH
-
- xBUTTON 280 290 60 20 "Select.."
- ReqFile 0 0 200 400 "Choose browser path..." LOAD BROWSERPATH RAM:
- Update PathConfig 60 $BROWSERPATH
-
- CTEXT 20 43 "HIPPO path*" XHelvetica.font 11 2 -1 00000
- CTEXT 20 68 "Play16 path*" XHelvetica.font 11 2 -1 00000
- CTEXT 20 93 "MOD path" XHelvetica.font 11 2 -1 00000
- CTEXT 20 118 "SAMPLE path" XHelvetica.font 11 2 -1 00000
- CTEXT 20 143 "PLONE path" XHelvetica.font 11 2 -1 00000
- CTEXT 20 168 "LAUNCH path" XHelvetica.font 11 2 -1 00000
- CTEXT 20 193 "SCOPE path" XHelvetica.font 11 2 -1 00000
- CTEXT 20 218 "MODCOPY path" XHelvetica.font 11 2 -1 00000
- CTEXT 20 243 "SAMPLECOPY path" XHelvetica.font 11 2 -1 00000
- CTEXT 20 268 "YAM path*" XHelvetica.font 11 2 -1 00000
- CTEXT 20 293 "BROWSER path*" XHelvetica.font 11 2 -1 00000
-
- XTEXTIN 130 40 140 20 '' HIPPOPATH '' 200
- gadid 50
-
- XTEXTIN 130 65 140 20 '' PLAY16PATH '' 200
- gadid 51
-
- XTEXTIN 130 90 140 20 '' MODPATH '' 200
- gadid 52
-
- XTEXTIN 130 115 140 20 '' SAMPLEPATH '' 200
- gadid 53
-
- XTEXTIN 130 140 140 20 '' PLONEPATH '' 200
- gadid 54
-
- XTEXTIN 130 165 140 20 '' LAUNCHPATH '' 200
- gadid 55
-
- XTEXTIN 130 190 140 20 '' SCOPEPATH '' 200
- gadid 56
-
- XTEXTIN 130 215 140 20 '' COPYPATH '' 200
- gadid 57
-
- XTEXTIN 130 240 140 20 '' COPYPATH2 '' 200
- gadid 58
-
- XTEXTIN 130 265 140 20 '' YAMPATH '' 200
- gadid 59
-
- XTEXTIN 130 290 140 20 '' BROWSERPATH '' 200
- gadid 60
-
- xBUTTON 300 360 40 20 "_OK"
- guiclose PathConfig
- guiopen Voreinstellung
-
- xRoutine SavePaths
- SET BUFFERS 4000
-
- .PlayGUIconfig = 'G4C\n\nxOnLoad\n'
-
- appvar .PlayGUIconfig '\nPlayGUI/HIPPOPATH = $HIPPOPATH'
- appvar .PlayGUIconfig '\nPlayGUI/PLAY16PATH = $PLAY16PATH'
- appvar .PlayGUIconfig '\nPlayGUI/MODPATH = $MODPATH'
- appvar .PlayGUIconfig '\nPlayGUI/SAMPLEPATH = $SAMPLEPATH'
- appvar .PlayGUIconfig '\nPlayGUI/SKINSELECT = $SKINSELECT'
- appvar .PlayGUIconfig '\nPlayGUI/PLONEPATH = $PLONEPATH'
- appvar .PlayGUIconfig '\nPlayGUI/LAUNCHPATH = $LAUNCHPATH'
- appvar .PlayGUIconfig '\nPlayGUI/SCOPEPATH = $SCOPEPATH'
- appvar .PlayGUIconfig '\nPlayGUI/COPYPATH = $COPYPATH'
- appvar .PlayGUIconfig '\nPlayGUI/COPYPATH2 = $COPYPATH2'
- appvar .PlayGUIconfig '\nPlayGUI/YAMPATH = $YAMPATH'
- appvar .PlayGUIconfig '\nPlayGUI/BROWSERPATH = $BROWSERPATH'
- appvar .PlayGUIconfig '\nPlayGUI/AUTOPLAY = $AUTOPLAY'
- appvar .PlayGUIconfig '\nPlayGUI/PLONESTART = $PLONESTART'
- appvar .PlayGUIconfig '\nPlayGUI/STARTMODINFO = $STARTMODINFO'
- appvar .PlayGUIconfig '\nPlayGUI/P16LOOP = $P16LOOP'
- appvar .PlayGUIconfig '\nPlayGUI/P16FILTER = $P16FILTER'
- appvar .PlayGUIconfig '\nPlayGUI/vol2 = $vol2'
- appvar .PlayGUIconfig '\nPlayGUI/GuiPattern = $GuiPattern'
- appvar .PlayGUIconfig '\nPlayGUI/STARTSOUND = $STARTSOUND'
- appvar .PlayGUIconfig '\nPlayGUI/QUITSOUND = $QUITSOUND'
- appvar .PlayGUIconfig '\nPlayGUI/THEME = $THEME'
- appvar .PlayGUIconfig '\nPlayGUI/THEMEPATH = $THEMEPATH'
- appvar .PlayGUIconfig '\nPlayGUI/TQUITSOUND = $TQUITSOUND'
- appvar .PlayGUIconfig '\nPlayGUI/TSTARTSOUND = $TSTARTSOUND'
- appvar .PlayGUIconfig '\nGuiQuit #This'
-
- copy env:.PlayGUIconfig PLAYGUI:SYS/PlayGUIconfig
-
- ezreq "Config saved!" "Thanx!" thanx
-
-
-
-